package com.fulihui.wgj.facade.service.mass;

import com.fulihui.common.error.InvokeServiceException;
import com.fulihui.common.result.rpc.BaseResult;
import com.fulihui.wgj.facade.request.mass.CalcMassMsgRequest;

/**
 * 图文发送记录Service
 *
 * @author wang_wx
 * @date 2018-08-01
 */
public interface SendWxMassService {

    /**
     * 图文消息发送
     *
     * @param request
     * @return
     * @throws InvokeServiceException
     */
    BaseResult sendMassMsg(CalcMassMsgRequest request) throws InvokeServiceException;

    /**
     * 图文消息发送-for定时任务
     *
     * @param request
     * @return
     * @throws InvokeServiceException
     */
    BaseResult sendMassMsg4Job(CalcMassMsgRequest request) throws InvokeServiceException;
}
